package com.ruoyi.dgw.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 疫苗对象 vaccine
 *
 * @author lw
 * @date 2021-11-16
 */
@Data
public class Vaccine extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;
    /**
     * 养殖户
     */
/*
    @Excel(name = "养殖户")
*/
    private String breedName;

    /**
     * 耳标编号
     */
    @Excel(name = "耳标编号")
    private String earNumber;

    /**
     * 养殖用户id
     */
    private Long userId;
    /**
     * 口蹄疫苗，1=未打，2=已打
     */
    @Excel(name = "口蹄疫苗", readConverterExp = "1=未注射,2=第一针已注射,3=第二针已注射")
    private Long aftosa;
    /**
     * 口蹄疫苗注射时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "口蹄疫苗注射时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date aftosaTime;
    /**
     * 炭菌疫苗，1=未打，2=已打
     */
    @Excel(name = "炭菌疫苗", readConverterExp = "1=未注射,2=已注射")
    private Long anthrax;
    /**
     * 炭菌疫苗注射时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "炭菌疫苗注射时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date anthraxTime;
    /**
     * 布菌疫苗，1=未打，2=已打
     */
    @Excel(name = "布菌疫苗", readConverterExp = "1=未注射,2=已注射")
    private Long clothbacteria;
    /**
     * 布菌疫苗注射时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "布菌疫苗注射时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date clothbacteriaTime;
    /**
     * 养殖户名称
     */
    @Excel(name = "养殖户名称")
    private String nickName;
    /** 单号 */
    @Excel(name = "单号")
    private String applicatOdd;
}
